home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus 2004 #9
/
Amiga Plus CD - 2004 - No. 09.iso
/
amigaplus
/
tools
/
amigaos4_only
/
ifxlite
/
imagefx3
/
rexx
/
autofx
/
eot_scatter.ifx
< prev
next >
Wrap
Text File
|
2004-08-03
|
1KB
|
55 lines
/*
* $VER: EOT_Scatter.ifx 2.6 (17.09.97)
* Copyright © 1992-1996 Nova Design, Inc.
*
* Inputs:
* Word(Arg(1),1) = Frame number (1 - N)
* Word(Arg(1),2) = Main filename ("-" if not specified)
* Word(Arg(1),3) = Swap filename ("-" if not specified)
* Word(Arg(1),4) = Sequence number (?)
* Word(Arg(1),5) = Total number of frames (N)
*
* Returns:
* 0 if successful, non-zero on failure
*
*/
OPTIONS RESULTS
framenum = Word(Arg(1),1)
mainname = Word(Arg(1),2)
swapname = Word(Arg(1),3)
seqnum = Word(Arg(1),4)
framemax = Word(Arg(1),5)
base = 'Autofx_Scatter_'
celsize = GETCLIP(base||'CelSize')
rand = GETCLIP(base||'Rand')
tmin = GETCLIP(base||'ThreshMin')
tmax = GETCLIP(base||'ThreshMax')
source = GETCLIP(base||'Source')
type = GETCLIP(base||'Type')
x = GETCLIP(base||'X')
y = GETCLIP(base||'Y')
dmin = GETCLIP(base||'DisplaceMin')
dmax = GETCLIP(base||'DisplaceMax')
angle = GETCLIP(base||'Angle')
IF celsize = "" THEN celsize = 1
IF rand = "" THEN rand = 1234
IF tmin = "" THEN tmin = 0
IF tmax = "" THEN tmax = 255
IF source = "" THEN source = 3
IF type = "" THEN type = 1
IF x = "" THEN x = 160
IF y = "" THEN y = 100
IF dmin = "" THEN dmin = 0
IF dmax = "" THEN dmax = 100
IF angle = "" THEN angle = 270
Hook Scatter celsize rand tmin tmax source type x y dmin dmax angle
EXIT rc